@import "color";

//path
@import "../plugin/plugin";

html {
  font-size: 10px;
}

body {
  font-size: 1.4rem;
  text-size-adjust: 100% !important;
}

.dux-loading {
  .loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5000;
    background:rgba(0,0,0, 0);
  }
  .loading-body {
    position: fixed;
    z-index: 5001;
    width: 8em;
    min-height: 6em;
    top: 180px;
    left: 50%;
    margin-left: -4em;
    background: rgba(17, 17, 17, 0.7);
    text-align: center;
    border-radius: 5px;
    color: #FFFFFF;
    .loading-icon {
      margin: 10px 0 0;
      width: 38px;
      height: 38px;
      display: inline-block;
      vertical-align: baseline;
      -webkit-animation: weuiLoading 1s steps(12, end) infinite;
      animation: weuiLoading 1s steps(12, end) infinite;
      background: transparent url("") no-repeat;
      background-size: 100%;
    }

    .loading-msg {
      margin: 0 0 10px;
    }
  }
}


@keyframes weuiLoading {
  0% {
    transform: rotate3d(0, 0, 1, 0deg);
  }

  100% {
    transform: rotate3d(0, 0, 1, 360deg);
  }
}


@keyframes msg-up {
  0% {
    opacity: 0;
    -webkit-transform: translateY(800px);
    transform: translateY(800px)
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0)
  }
}

.dux-msg-layout {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 88888888;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  .dux-msg {
    text-align: center;
    .text {
      background-color: rgba(0, 0, 0, .7);
      font-size: 14px;
      border-radius: 5px;
      box-shadow: 0 0 8px rgba(0, 0, 0, .1);
      color: #fff;
      position: relative;
      display: inline-block;
      text-align: left;
      padding: 10px 20px;
      animation-duration: .2s;
      animation-name: msg-up;
    }
  }
}

.dux-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.dux-table {
  p {
    color: #999;
  }
}